
package com.thxrinfo.car.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pig4cloud.pig.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 实名车主表
 *
 * @author silencezheng
 * @date 2023-02-08 17:47:32
 */
@Data
@TableName("t_car_owner")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "实名车主表")
public class CarOwner extends BaseEntity {

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description ="id")
    private Long id;

    /**
     * 车主姓名
     */
    @Schema(description ="车主姓名")
    private String name;

    /**
     * 车牌类型
     */
    @Schema(description ="车牌类型")
    private String carType;

    /**
     * 手机号
     */
    @Schema(description ="手机号")
    private String mobile;

    /**
     * 车牌号
     */
    @Schema(description ="车牌号")
    private String plateNumber;

    /**
     * c端用户id
     */
    @Schema(description ="c端用户id")
    private String frontUserId;

    /**
     * 图片url
     */
    @Schema(description ="图片url")
    private String img;

    /**
     * 信息来源0 月租户数据 1车主自己绑定 2 收费员上传
     */
    @Schema(description ="信息来源0 月租户数据 1车主自己绑定 2 收费员上传")
    private String dataSourceType;

    /**
     * 收费员id
     */
    @Schema(description ="收费员id")
    private Long collectorId;


}
